﻿
using NHibernate;

namespace Crowler.Model.CoreComponents.DataAccess
{
    public interface IDataAccessManager
    {
        IUnitOfWork Start();
        IUnitOfWork Current { get; }
        bool IsStarted { get; }
        ISession CurrentSession { get; }
        void DisposeUnitOfWork(IUnitOfWork unitOfWorkImplementor);
    }
}
